//
//  SYResourcesDetailsTableViewCell.m
//  SanYiTeaching
//
//  Created by 郑浩然 on 2019/4/23.
//  Copyright © 2019年 SanYi. All rights reserved.
//

#import "SYResourcesDetailsTableViewCell.h"


@interface SYResourcesDetailsTableViewCell ()
@property (weak, nonatomic) IBOutlet UIImageView *headerImage;
@property (weak, nonatomic) IBOutlet UILabel *headerLab;
@property (weak, nonatomic) IBOutlet UILabel *sizeLab;
@property (weak, nonatomic) IBOutlet UILabel *timelab;

@end


@implementation SYResourcesDetailsTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)resourcesDetailsTableView:(NSIndexPath *)indexPath {
    if (indexPath.row == 0) {//视频
        _headerImage.image = [UIImage imageNamed:@"zy_tab_sp"];
    } else if (indexPath.row == 1) {//word
        _headerImage.image = [UIImage imageNamed:@"sx_xiangqing_word"];
    } else {//ppt
        _headerImage.image = [UIImage imageNamed:@"zy_tab_ppt"];
    }
}

@end
